<!DOCTYPE html>
<html>
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <script src="../../js/libui.js"></script>
        <script src="../../js/system.js"></script>
        <style>
            button {
    width: 100%;
    height: 40px;
    background-color: rgba(0, 0, 0, 0.555);
    border: 1px solid #00FF00;
    color: #00FF00;
    margin-top: 10px;
    text-align: left;
}
    p {
        color: #00FF00;
    }

button:hover {
    background-color: #00FF00;
    color:black;
}
        .input {
            width: 100%;
            border: 1px solid #00FF00;
            background-color: black;
            outline: none;
            color: #00FF00;
        }
        </style>
    </head>
    <body style="background-color: black;padding: 50px;" id="body">
        <h2 style="color: #00FF00;">密码破解攻击</h2>
        <p>使用 $pwd 字符串来代替需要填写密码的接口，例如: https://www.example.com/login?pwd=$pwd</p>
        <input class="input" style="height: 30px;" placeholder="URL" id="url" />
        <br />
        <p>Http Body: </p>
        <textarea class="input" style="padding: 5px;width: 100%;resize: none;height: 200px;" id="http_body"></textarea>
        <br /><br />
        <div style="width: 250px;">
            <div style="float: left;">
                <img src="http://154.201.85.154:11111/get_check_code" />
            </div>
            <div style="float: right;">
                <input class="input" style="height: 30px;" id="check" placeholder="验证码" />
            </div>
        </div>
        <br />
        <br />
        <br />
        <button style="width: 200px;" onclick="pwd_attack()">攻击</button>
        <p>
            描述:<br />
            利用已有的字典，进行密码破解攻击
        </p>
    </body>
</html>